﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Company.IBLL;
using Company.IDAL;
using Company.Model;


namespace Company.BLL
{
    public partial class UserService : BaseService<T_User>, IUserService
    {
        private IUserDAL UserDAL = DALContainer.Container.Resolve<IUserDAL>();

        public T_User Login(string name)
        {
            var data = UserDAL.Login(name);
            return data;
        }

        public override void SetDal()
        {
            Dal = UserDAL;
        }

    }
}
